package com.travel.JPA;

import com.travel.Bean.Trade;
import org.bytedeco.opencv.presets.opencv_core;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface TradeJPA extends JpaRepository<Trade,String> {

    @Query("select trade from trade where order_id = ?1")
    Trade getTradeByOrder_id(String orderID);

}
